package com.baor.permissions.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baor.common.annotation.Excel;
import com.baor.common.core.domain.BaseEntity;

/**
 * 角色对象 t_role
 * 
 * @author ruoyi
 * @date 2025-07-18
 */
public class TRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 角色id */
    @Excel(name = "角色id")
    private Long roleId;

    /** 角色名 */
    @Excel(name = "角色名")
    private String roleName;

    /** 角色状态0启用1禁用 */
    @Excel(name = "角色状态0启用1禁用")
    private Long roleStatus;

    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }

    public void setRoleName(String roleName) 
    {
        this.roleName = roleName;
    }

    public String getRoleName() 
    {
        return roleName;
    }

    public void setRoleStatus(Long roleStatus) 
    {
        this.roleStatus = roleStatus;
    }

    public Long getRoleStatus() 
    {
        return roleStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roleId", getRoleId())
            .append("roleName", getRoleName())
            .append("roleStatus", getRoleStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
